<?php

class My_Controller extends CI_Controller {

    public function __construct() {
        parent::__construct();                
        
        //autoload all libraries file.
        
        //set template that you want to use.
        $this->template->set_template('default');
        
        // Add DocType
        $this->template->add_doctype('XHTML1_TRANSITIONAL');
        
        // Add title
        $this->template->add_title('AZ - Trang chủ');
        
        // Add CSS
        $this->template->add_css('public/default/css/style.css');
        $this->template->add_css('public/default/css/dropline.css');
        $this->template->add_css('public/default/css/reset.css');
        $this->template->add_css('public/default/css/slidesbox/settings.css');
        
        //add JS
        $this->template->add_js('public/default/js/jquery.js');
        $this->template->add_js('public/default/js/jquery.tipsy.js');
        $this->template->add_js('public/default/js/jquery_002.js');
        $this->template->add_js('public/default/js/script.js');
        
        $this->template->add_js('public/default/js/sl-js/jquery.easing.1.3.js');
        $this->template->add_js('public/default/js/sl-js/jquery.cssAnimate.mini.js');
        $this->template->add_js('public/default/js/sl-js/jquery.touchwipe.min.js');
        $this->template->add_js('public/default/js/sl-js/jquery.mousewheel.min.js');
        $this->template->add_js('public/default/js/sl-js/jquery.themepunch.services.mini.js');
        $this->template->add_js('public/default/js/my_script.js');
    }
}